#include "queue.h"
void Queue_Test1()
{
    Queue q;
    QueueInit(&q);
    for(int i = 1;i < 10;i++)
    {
        QueuePush(&q,i*10);
    }
    printf("出队列前有效元素个数为:%d\n",QueueSize(&q));
    while(!QueueEmpty(&q))
    {
        printf("%d ",QueueFront(&q));
        QueuePop(&q);
    }
    printf("\n");
    printf("出队列后有效元素个数为:%d\n",QueueSize(&q));
    QueueDestroy(&q);
}
int main()
{
    Queue_Test1();
    return 0;
}